//
//  NSString+ExchangeType.h
//  高仿暴走斗图
//
//  Created by key on 16/9/23.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (ExchangeType)

/**
 *  NSString转UTF8格式的const char
 *
 *  @return const char字符串
 */
- (const char *)exchangeToChar;

/**
 *  const char类型逆转UTF8为NSString
 *
 *  @param aChar aChar
 *
 *  @return NSString字符串
 */
+ (NSString *)exchangeChar:(const char *)aChar;
- (NSString *)exchangeChar:(const char *)aChar;

@end
